package org.stvd.entities.admin;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.stvd.entities.base.BaseEntity;

/**
 * 角色资源-实体类
 * @author houzx
 */
@Entity
@Table(name="role_res")
public class RoleRes extends BaseEntity{
	
    private static final long serialVersionUID = -4169999697325415836L;
    
    /**
     * 主键ID
     */
    @Id
    @Column(name="id",nullable=false)
    private String id = "";
    
    /**
     * 角色ID
     */
    @Column(name="role_id",nullable=false)
    private String roleId = "";
    
    /**
     * 资源ID
     */
    @Column(name="res_id",nullable=false)
    private String resId = "";
    
    /**
     * 平台GUID
     */
    @Column(name="guid",nullable=false)
    private String guid = "";

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}
    
}
